﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptEditor.Commands
{
    class Command_StartMessageSession : Command
    {
        public string contactDataName
        {
            get
            {
                return Value1;
            }
            set
            {
                Value1 = value;
            }
        }
        public string sessionId
        {
            get
            {
                return Value2;
            }
            set
            {
                Value2 = value;
            }
        }
        public Command_StartMessageSession()
        {
            CommandType = COMMANDTYPE.StartMessageSession;
            contactDataName = "请输入聊天记录名称";
            sessionId = "";
            Wait = true;
        }
        public Command_StartMessageSession(string ContactDataName, string SessionId)
        {
            CommandType = COMMANDTYPE.StartMessageSession;
            contactDataName = ContactDataName;
            sessionId = SessionId;
            Wait = true;
        }
        public override string ToString()
        {
            return CommandType.ToString() + ":\n" + "开始聊天:" + contactDataName + " " + sessionId;
        }
    }
}
